package com.ruoyi.project.system.tatic.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 渠道推广资源重复率统计对象 t_channel_promotion_repeat_tatic
 * 
 * @author ruoyi
 * @date 2024-10-28
 */
public class TChannelPromotionRepeatTatic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 渠道标识 */
    @Excel(name = "渠道标识")
    private String channelName;

    /** 区间段新增资源数(未去重) */
    @Excel(name = "区间段新增资源数(未去重)")
    private Long intervalAddResourceCount;

    /** 渠道实际新增资源数(去重) */
    @Excel(name = "渠道实际新增资源数(去重)")
    private Long intervalActualAddResourceCount;

    /** 全库实际新增资源数(去重) */
    @Excel(name = "全库实际新增资源数(去重)")
    private Long intervalAllAddResourceCount;

    /** 折扣率 */
    @Excel(name = "折扣率")
    private BigDecimal discountRate;
    /** 区间段新增资源数(未去重) */
    @Excel(name = "区间段新增资源数(未去重)折扣后")
    private Long intervalAddResourceDiscountCount;

    /** 全库实际新增资源数(去重) */
    @Excel(name = "全库实际新增资源数(去重)折扣后")
    private Long intervalAllAddResourceDiscountCount;

    /** 渠道实际新增资源数(去重) */
    @Excel(name = "渠道实际新增资源数(去重)折扣后")
    private Long intervalActualAddResourceDiscountCount;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addTime;
    //排序規則 1時間倒序 2 時間升序
    private Integer sortType;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setChannelName(String channelName)
    {
        this.channelName = channelName;
    }

    public String getChannelName()
    {
        return channelName;
    }
    public void setIntervalAddResourceCount(Long intervalAddResourceCount)
    {
        this.intervalAddResourceCount = intervalAddResourceCount;
    }

    public Long getIntervalAddResourceCount()
    {
        return intervalAddResourceCount;
    }
    public void setIntervalActualAddResourceCount(Long intervalActualAddResourceCount)
    {
        this.intervalActualAddResourceCount = intervalActualAddResourceCount;
    }

    public Long getIntervalActualAddResourceCount()
    {
        return intervalActualAddResourceCount;
    }
    public void setIntervalAllAddResourceCount(Long intervalAllAddResourceCount)
    {
        this.intervalAllAddResourceCount = intervalAllAddResourceCount;
    }

    public Long getIntervalAllAddResourceCount()
    {
        return intervalAllAddResourceCount;
    }
    public void setAddTime(Date addTime)
    {
        this.addTime = addTime;
    }

    public Date getAddTime()
    {
        return addTime;
    }


    public BigDecimal getDiscountRate() {
        return discountRate;
    }

    public void setDiscountRate(BigDecimal discountRate) {
        this.discountRate = discountRate;
    }

    public Long getIntervalAllAddResourceDiscountCount() {
        return intervalAllAddResourceDiscountCount;
    }

    public void setIntervalAllAddResourceDiscountCount(Long intervalAllAddResourceDiscountCount) {
        this.intervalAllAddResourceDiscountCount = intervalAllAddResourceDiscountCount;
    }

    public Long getIntervalAddResourceDiscountCount() {
        return intervalAddResourceDiscountCount;
    }

    public void setIntervalAddResourceDiscountCount(Long intervalAddResourceDiscountCount) {
        this.intervalAddResourceDiscountCount = intervalAddResourceDiscountCount;
    }

    public Long getIntervalActualAddResourceDiscountCount() {
        return intervalActualAddResourceDiscountCount;
    }

    public void setIntervalActualAddResourceDiscountCount(Long intervalActualAddResourceDiscountCount) {
        this.intervalActualAddResourceDiscountCount = intervalActualAddResourceDiscountCount;
    }

    public Integer getSortType() {
        return sortType;
    }

    public void setSortType(Integer sortType) {
        this.sortType = sortType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("channelName", getChannelName())
            .append("intervalAddResourceCount", getIntervalAddResourceCount())
            .append("intervalActualAddResourceCount", getIntervalActualAddResourceCount())
            .append("intervalAllAddResourceCount", getIntervalAllAddResourceCount())
            .append("addTime", getAddTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
